package com.nyc.listener;

import org.springframework.boot.context.event.ApplicationStartingEvent;
import org.springframework.context.ApplicationListener;

/**
 * @author niuyicong
 * @date 2025/8/29  14:18:14
 * @description
 */
public class MySpringApplicationStartingListener implements ApplicationListener<ApplicationStartingEvent> {
    @Override
    public void onApplicationEvent(ApplicationStartingEvent event) {
        System.out.println("MySpringApplicationStartingListener ---->" + event);
    }
}
